package factory_method_pattern.exercise.exercise1;

/**
 * 创建银行卡支付方式的具体工厂
 * @author ricejson
 */
public class BankPaymentFactory implements PaymentFactory {
    @Override
    public Payment createPayment() {
        return new BankPayment();
    }
}
